package com.jswlw.common.utils;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;

/**
 * @author 吴维斌 E-mail:wuweibin0817@163.com
 * @version 创建时间：${date} ${time}
 */
public class RandomUtils {

    public static void idCreator() {
        List<Integer> list=new ArrayList<>();
        for(int i=100000;i<1000000;i++){
            list.add(i);
        }
        Collections.shuffle(list);
        Collections.shuffle(list);
        Collections.shuffle(list);
        System.out.println(list);
    }

    public static void main(String[] args) {
        RandomUtils.idCreator();
    }
}
